<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/commons/taglibs.jsp" %>

	<head>
	<title></title>
	<%@ include file="/commons/css_js_head.jsp" %>
		<script type="text/javascript" src="${ctx}/dtree/dtree.js" ></script>
		<link rel="stylesheet" href="${ctx}/dtree/dtree.css" type="text/css"></link>
	</head>

	<body>
		<div class="dtree">

	<br/>
	<img alt="全部打开" src="${ctx}/images/bant1.gif" onclick="d.openAll();"  />
	<img alt="全部折叠" src="${ctx}/images/bant2.gif" onclick="d.closeAll();" />
	<br/><br/>
			
		<script type="text/javascript">
				d = new dTree('d');
				d.add(0,-1,"系统菜单")
		                       
				<c:forEach var="item" items="${voList}">
					d.add(${item.menuId},${item.parentMenuId},"${item.menuName}","${ctx}/permission/efMenuAction!doFindById.ts?menuId=${item.menuId}")
					d.config.target = 'main';//点击指向main
					
				</c:forEach>
				document.write(d);
		</script>

		</div>
	</body>
</html>